Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: v1.14.0 release #6290

Merged
merged 60 commits into from
Jan 16, 2024
Merged

chore: v1.14.0 release #6290

merged 60 commits into from
Jan 16, 2024

Conversation

philknows
Copy link
Member

@philknows philknows commented Jan 12, 2024

This PR supersedes #6280 for releasing v1.14.0-rc.2 from commit 5e69423 on unstable.

twoeths and others added 30 commits December 19, 2023 16:01
* Add vitest config

* Migrate unit tests

* Migrate e2e tests

* Revert test-util changes

* Update worker path

* Fix e2e tests

* Fix the validator process crash

* Update single thread value

* Fix the exit hooks

* Remove timeout indentation

* Remvoe some test comments
…6087)

* feat: optimistically verify blocks even before all blobs available

cleanup pr and add metrics to track

simplify

improvements and type fixes

increase bucket precision

time fixes

improve metrics collection

improve metrics collection

some comments improv

fix the missing writing blobs for blobspromise

rebase fixes

rebase fixes

remove artifact

apply feedback

add more meta info to error

separate out the blockinput cache and attach to chain

rename the cache

apply more feedback

add unittest for seengossipblockinput

add comments

* check type fixes
* Migrate reqresp unit tests to vitest

* Fix the build step

* Fix the types

* Fix the source changes

* Remove the  usage in src
* fix: track jobItemWorkReq function time

* docs: add panel for BLS jobItemWorkReq metrics
* Fix operationId of light_client routes

* Fix operationId of bls_to_execution_changes routes

* Update beacon api spec version to 2.4.0

* Push case change

* Remove now useless file

* fix: lints

* fix: filter broken test

* Revert "Fix operationId of light_client routes"

This reverts commit 91cd2af.

* Revert "Fix operationId of bls_to_execution_changes routes"

This reverts commit ad53c2d.

* test: ignore missing routes

* test: allow to filter required properties from testing

* fix: incorrect case

* test: fixed incorrect test filtering

* fix: lints

* fix: cleanup

* test: allow more fine grain API tests filtering

* fix: lints

* test: increase JSON schema validation strictness

* fix: restore removed keyword implementation

* test: improve filtering semantic

* test: add support for JSONPath syntax to filtering

* fix: typo

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* fix: wording

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* test: improve semantic

* test: added issue for context

* fix: improved issues references

* fix: incorrect dotted property parsing

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
Migrate db unit tests to vitest
Migrate flare unit tests to vitest
Migrate config unit tests to vitest
* Migrate params tests to vitest

* Fix the assertion message
* Migrate fork-choice unit tests to vitest

* Fix the assertion messages

* Update packages/fork-choice/test/unit/protoArray/computeDeltas.test.ts

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* Fix assertion message

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* Migrate utils tests to vitest

* Remove e2e test script
* Add `Eth-Consensus-Version` to produceBlockV3

* Lint

* Lint

* Add header
…res (#6089)

modify the api

fix validator handling

fix val build

refactor the beacon node impl for the new blobs architecture

get the build working with no blobs

fix the blob sidecars transmisssion

relocate compute blob sidecars

relocate verify merkle branch

verify inclusion proof

fix tests and types

fix unit test

update the spec test versions

skip newly required merkle proof runner

change the minimal/mainnet preset based constant strategy

add other constants to tests

apply feedback

apply feedback

relocate utils
* Restore yarn warnings lint script to previous version

* Add vite package resolution

* Update vite-plugin-node-polyfills package to 0.18.0
* Upgrade vitest

* Change the browser version to fix the download error

* Add a browser version fix

* Fix the browser download path

* Fix the browser download version
* Migrate logger tests to vitest

* Remove lint comment
* docs: add google landing page for old layout until reindexed

* docs: fix broken links

* docs: add SECURITY to docs site pages

* chore: lint docs

* docs: remove committed security.md

* docs: fix mkdocs warnings
* Migrate type tests to vitest

* Fix the npm scripts
* fix: correct createFromState() with cached current shuffling

* chore: fix lint
…d and selected blocks (#6227)

* feat: allow validator to request blinded versions for locally produced and selected blocks

lint

fix the types and tests

* add blinded local combinations to sim

* debug and fix issues
- typo in "one peers" was corrected to "once peers"
rdvorkin and others added 21 commits January 8, 2024 16:59
fix: increase range for the random value of request id

Request id is currently generated by choosing random number 0-10000.
This range is too small, and in some scenarios causes duplicate ids in batch.
Example:
call eth_call to multicall contract, aggregating balanceOf calls of many tokens. If enough tokens are queried, then many eth_getProof requests will be submitted in a batch. for a large amount of tokens there is a large chance of request id collision, failing the check in https://github.com/ChainSafe/lodestar/blob/unstable/packages/prover/src/utils/json_rpc.ts#L84
* feat: track prepare next epoch time

* Update packages/beacon-node/src/metrics/metrics/lodestar.ts

* Align variable name of timer with histogram naming

---------

Co-authored-by: Cayman <caymannava@gmail.com>
Co-authored-by: Nico Flaig <nflaig@protonmail.com>
Bumps [undici](https://github.com/nodejs/undici) from 5.22.1 to 5.28.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.22.1...v5.28.2)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: prune BlsToExecutionChange opPool with head state

* fix: address PR comment
* feat: reject builder blocks if engine indicates censorship

* apply feeback

* fix tests

* small refac and test fixes and selection test extenstion for override combinations

* make typing tighter for blindedblock

* apply feedbac

* Fix typo

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
Update teku's bootnode
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases)
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: get-func-name
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: always use produceBlockV3 post deneb

* lint

* auto enable only if explicity not provided
* Fix voluntary exit block inclusion filter

* lint

---------

Co-authored-by: harkamal <gajinder@g11.in>
Update RELEASE.md to include coventional commit title
* Remove downloading debug-node task

* Comment the debug task
* Update the beacon block production for phase0

* Update the workflow with common body

* Fix lint errors

* Fix the types

* Fix the log message

* Fix mutation of the common block body

* Fix lint formatting

* Fix lint formatting
* Add Ephemery Deneb fork epoch

* Extra new line

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

Merging #6290 (02370a9) into stable (1a816b4) will decrease coverage by 5.26%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           stable    #6290      +/-   ##
==========================================
- Coverage   85.63%   80.38%   -5.26%     
==========================================
  Files         172      202      +30     
  Lines       14372    19620    +5248     
  Branches      880     1176     +296     
==========================================
+ Hits        12308    15771    +3463     
- Misses       2041     3821    +1780     
- Partials       23       28       +5     

Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: c460c51 Previous: - Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 623.08 us/op
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 61.770 us/op
BLS verify - blst-native 1.1605 ms/op
BLS verifyMultipleSignatures 3 - blst-native 2.4246 ms/op
BLS verifyMultipleSignatures 8 - blst-native 5.3647 ms/op
BLS verifyMultipleSignatures 32 - blst-native 20.465 ms/op
BLS verifyMultipleSignatures 64 - blst-native 40.182 ms/op
BLS verifyMultipleSignatures 128 - blst-native 77.228 ms/op
BLS deserializing 10000 signatures 867.63 ms/op
BLS deserializing 100000 signatures 8.3313 s/op
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2247 ms/op
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4508 ms/op
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.5579 ms/op
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.0765 ms/op
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.5859 ms/op
BLS aggregatePubkeys 32 - blst-native 24.681 us/op
BLS aggregatePubkeys 128 - blst-native 89.766 us/op
getAttestationsForBlock 38.878 ms/op
getSlashingsAndExits - default max 101.22 us/op
getSlashingsAndExits - 2k 320.26 us/op
proposeBlockBody type=full, size=empty 3.9573 ms/op
isKnown best case - 1 super set check 252.00 ns/op
isKnown normal case - 2 super set checks 241.00 ns/op
isKnown worse case - 16 super set checks 239.00 ns/op
CheckpointStateCache - add get delete 3.2880 us/op
validate api signedAggregateAndProof - struct 2.3198 ms/op
validate gossip signedAggregateAndProof - struct 2.4015 ms/op
validate gossip attestation - vc 640000 1.1274 ms/op
batch validate gossip attestation - vc 640000 - chunk 32 136.41 us/op
batch validate gossip attestation - vc 640000 - chunk 64 118.44 us/op
batch validate gossip attestation - vc 640000 - chunk 128 115.24 us/op
batch validate gossip attestation - vc 640000 - chunk 256 110.90 us/op
pickEth1Vote - no votes 941.44 us/op
pickEth1Vote - max votes 10.716 ms/op
pickEth1Vote - Eth1Data hashTreeRoot value x2048 16.032 ms/op
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.206 ms/op
pickEth1Vote - Eth1Data fastSerialize value x2048 417.74 us/op
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.3044 ms/op
bytes32 toHexString 348.00 ns/op
bytes32 Buffer.toString(hex) 211.00 ns/op
bytes32 Buffer.toString(hex) from Uint8Array 319.00 ns/op
bytes32 Buffer.toString(hex) + 0x 223.00 ns/op
Object access 1 prop 0.11200 ns/op
Map access 1 prop 0.10100 ns/op
Object get x1000 5.5080 ns/op
Map get x1000 0.66300 ns/op
Object set x1000 25.119 ns/op
Map set x1000 17.095 ns/op
Return object 10000 times 0.21010 ns/op
Throw Error 10000 times 2.6476 us/op
fastMsgIdFn sha256 / 200 bytes 1.7890 us/op
fastMsgIdFn h32 xxhash / 200 bytes 197.00 ns/op
fastMsgIdFn h64 xxhash / 200 bytes 243.00 ns/op
fastMsgIdFn sha256 / 1000 bytes 5.8500 us/op
fastMsgIdFn h32 xxhash / 1000 bytes 316.00 ns/op
fastMsgIdFn h64 xxhash / 1000 bytes 305.00 ns/op
fastMsgIdFn sha256 / 10000 bytes 50.961 us/op
fastMsgIdFn h32 xxhash / 10000 bytes 1.7380 us/op
fastMsgIdFn h64 xxhash / 10000 bytes 1.1280 us/op
send data - 1000 256B messages 11.493 ms/op
send data - 1000 512B messages 15.801 ms/op
send data - 1000 1024B messages 22.415 ms/op
send data - 1000 1200B messages 28.356 ms/op
send data - 1000 2048B messages 34.310 ms/op
send data - 1000 4096B messages 31.188 ms/op
send data - 1000 16384B messages 87.929 ms/op
send data - 1000 65536B messages 373.17 ms/op
enrSubnets - fastDeserialize 64 bits 828.00 ns/op
enrSubnets - ssz BitVector 64 bits 315.00 ns/op
enrSubnets - fastDeserialize 4 bits 120.00 ns/op
enrSubnets - ssz BitVector 4 bits 321.00 ns/op
prioritizePeers score -10:0 att 32-0.1 sync 2-0 66.686 us/op
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 77.578 us/op
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 104.47 us/op
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 177.66 us/op
prioritizePeers score 0:0 att 64-1 sync 4-1 203.98 us/op
array of 16000 items push then shift 1.2896 us/op
LinkedList of 16000 items push then shift 6.1560 ns/op
array of 16000 items push then pop 60.508 ns/op
LinkedList of 16000 items push then pop 5.9990 ns/op
array of 24000 items push then shift 2.0355 us/op
LinkedList of 24000 items push then shift 6.0410 ns/op
array of 24000 items push then pop 88.018 ns/op
LinkedList of 24000 items push then pop 5.5710 ns/op
intersect bitArray bitLen 8 5.0340 ns/op
intersect array and set length 8 48.659 ns/op
intersect bitArray bitLen 128 27.830 ns/op
intersect array and set length 128 684.44 ns/op
bitArray.getTrueBitIndexes() bitLen 128 1.0640 us/op
bitArray.getTrueBitIndexes() bitLen 248 1.7710 us/op
bitArray.getTrueBitIndexes() bitLen 512 3.2940 us/op
Buffer.concat 32 items 826.00 ns/op
Uint8Array.set 32 items 1.6850 us/op
Set add up to 64 items then delete first 1.7599 us/op
OrderedSet add up to 64 items then delete first 2.6606 us/op
Set add up to 64 items then delete last 1.9931 us/op
OrderedSet add up to 64 items then delete last 2.9472 us/op
Set add up to 64 items then delete middle 1.9646 us/op
OrderedSet add up to 64 items then delete middle 4.1410 us/op
Set add up to 128 items then delete first 3.9525 us/op
OrderedSet add up to 128 items then delete first 6.1251 us/op
Set add up to 128 items then delete last 3.7392 us/op
OrderedSet add up to 128 items then delete last 5.6319 us/op
Set add up to 128 items then delete middle 3.7409 us/op
OrderedSet add up to 128 items then delete middle 10.548 us/op
Set add up to 256 items then delete first 7.6010 us/op
OrderedSet add up to 256 items then delete first 12.056 us/op
Set add up to 256 items then delete last 7.3301 us/op
OrderedSet add up to 256 items then delete last 11.185 us/op
Set add up to 256 items then delete middle 7.3087 us/op
OrderedSet add up to 256 items then delete middle 30.673 us/op
transfer serialized Status (84 B) 1.2780 us/op
copy serialized Status (84 B) 1.1570 us/op
transfer serialized SignedVoluntaryExit (112 B) 1.4660 us/op
copy serialized SignedVoluntaryExit (112 B) 1.2400 us/op
transfer serialized ProposerSlashing (416 B) 1.7090 us/op
copy serialized ProposerSlashing (416 B) 1.6580 us/op
transfer serialized Attestation (485 B) 1.8180 us/op
copy serialized Attestation (485 B) 1.6960 us/op
transfer serialized AttesterSlashing (33232 B) 1.5260 us/op
copy serialized AttesterSlashing (33232 B) 3.5440 us/op
transfer serialized Small SignedBeaconBlock (128000 B) 2.0070 us/op
copy serialized Small SignedBeaconBlock (128000 B) 8.2110 us/op
transfer serialized Avg SignedBeaconBlock (200000 B) 1.8990 us/op
copy serialized Avg SignedBeaconBlock (200000 B) 11.774 us/op
transfer serialized BlobsSidecar (524380 B) 2.4600 us/op
copy serialized BlobsSidecar (524380 B) 165.65 us/op
transfer serialized Big SignedBeaconBlock (1000000 B) 2.7170 us/op
copy serialized Big SignedBeaconBlock (1000000 B) 123.14 us/op
pass gossip attestations to forkchoice per slot 2.7247 ms/op
forkChoice updateHead vc 100000 bc 64 eq 0 441.91 us/op
forkChoice updateHead vc 600000 bc 64 eq 0 2.7183 ms/op
forkChoice updateHead vc 1000000 bc 64 eq 0 4.3129 ms/op
forkChoice updateHead vc 600000 bc 320 eq 0 2.5778 ms/op
forkChoice updateHead vc 600000 bc 1200 eq 0 2.7229 ms/op
forkChoice updateHead vc 600000 bc 7200 eq 0 3.2911 ms/op
forkChoice updateHead vc 600000 bc 64 eq 1000 10.039 ms/op
forkChoice updateHead vc 600000 bc 64 eq 10000 9.8843 ms/op
forkChoice updateHead vc 600000 bc 64 eq 300000 12.112 ms/op
computeDeltas 500000 validators 300 proto nodes 3.0266 ms/op
computeDeltas 500000 validators 1200 proto nodes 2.9689 ms/op
computeDeltas 500000 validators 7200 proto nodes 2.9145 ms/op
computeDeltas 750000 validators 300 proto nodes 4.3827 ms/op
computeDeltas 750000 validators 1200 proto nodes 4.5028 ms/op
computeDeltas 750000 validators 7200 proto nodes 4.4286 ms/op
computeDeltas 1400000 validators 300 proto nodes 8.7704 ms/op
computeDeltas 1400000 validators 1200 proto nodes 8.9226 ms/op
computeDeltas 1400000 validators 7200 proto nodes 8.9711 ms/op
computeDeltas 2100000 validators 300 proto nodes 12.974 ms/op
computeDeltas 2100000 validators 1200 proto nodes 13.698 ms/op
computeDeltas 2100000 validators 7200 proto nodes 13.056 ms/op
computeProposerBoostScoreFromBalances 500000 validators 3.3101 ms/op
computeProposerBoostScoreFromBalances 750000 validators 3.2675 ms/op
computeProposerBoostScoreFromBalances 1400000 validators 3.2772 ms/op
computeProposerBoostScoreFromBalances 2100000 validators 3.3244 ms/op
altair processAttestation - 250000 vs - 7PWei normalcase 1.8471 ms/op
altair processAttestation - 250000 vs - 7PWei worstcase 2.2343 ms/op
altair processAttestation - setStatus - 1/6 committees join 76.956 us/op
altair processAttestation - setStatus - 1/3 committees join 157.61 us/op
altair processAttestation - setStatus - 1/2 committees join 219.12 us/op
altair processAttestation - setStatus - 2/3 committees join 276.42 us/op
altair processAttestation - setStatus - 4/5 committees join 393.29 us/op
altair processAttestation - setStatus - 100% committees join 469.09 us/op
altair processBlock - 250000 vs - 7PWei normalcase 7.2480 ms/op
altair processBlock - 250000 vs - 7PWei normalcase hashState 29.656 ms/op
altair processBlock - 250000 vs - 7PWei worstcase 31.014 ms/op
altair processBlock - 250000 vs - 7PWei worstcase hashState 73.329 ms/op
phase0 processBlock - 250000 vs - 7PWei normalcase 2.3859 ms/op
phase0 processBlock - 250000 vs - 7PWei worstcase 26.712 ms/op
altair processEth1Data - 250000 vs - 7PWei normalcase 393.48 us/op
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 3.0830 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 33.607 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 14.035 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 10.349 us/op
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 61.496 us/op
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 598.67 us/op
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 830.65 us/op
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 804.45 us/op
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.3450 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.4266 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.4938 ms/op
Tree 40 250000 create 262.54 ms/op
Tree 40 250000 get(125000) 110.38 ns/op
Tree 40 250000 set(125000) 763.24 ns/op
Tree 40 250000 toArray() 9.5115 ms/op
Tree 40 250000 iterate all - toArray() + loop 9.5575 ms/op
Tree 40 250000 iterate all - get(i) 39.538 ms/op
MutableVector 250000 create 8.9367 ms/op
MutableVector 250000 get(125000) 5.3530 ns/op
MutableVector 250000 set(125000) 207.89 ns/op
MutableVector 250000 toArray() 2.3442 ms/op
MutableVector 250000 iterate all - toArray() + loop 2.5142 ms/op
MutableVector 250000 iterate all - get(i) 1.3130 ms/op
Array 250000 create 2.4777 ms/op
Array 250000 clone - spread 976.66 us/op
Array 250000 get(125000) 0.87500 ns/op
Array 250000 set(125000) 1.0710 ns/op
Array 250000 iterate all - loop 147.93 us/op
effectiveBalanceIncrements clone Uint8Array 300000 18.344 us/op
effectiveBalanceIncrements clone MutableVector 300000 276.00 ns/op
effectiveBalanceIncrements rw all Uint8Array 300000 176.66 us/op
effectiveBalanceIncrements rw all MutableVector 300000 61.501 ms/op
phase0 afterProcessEpoch - 250000 vs - 7PWei 71.416 ms/op
phase0 beforeProcessEpoch - 250000 vs - 7PWei 43.659 ms/op
altair processEpoch - mainnet_e81889 405.91 ms/op
mainnet_e81889 - altair beforeProcessEpoch 67.122 ms/op
mainnet_e81889 - altair processJustificationAndFinalization 6.0820 us/op
mainnet_e81889 - altair processInactivityUpdates 3.7132 ms/op
mainnet_e81889 - altair processRewardsAndPenalties 46.484 ms/op
mainnet_e81889 - altair processRegistryUpdates 1.2480 us/op
mainnet_e81889 - altair processSlashings 345.00 ns/op
mainnet_e81889 - altair processEth1DataReset 379.00 ns/op
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2770 ms/op
mainnet_e81889 - altair processSlashingsReset 3.3520 us/op
mainnet_e81889 - altair processRandaoMixesReset 4.4950 us/op
mainnet_e81889 - altair processHistoricalRootsUpdate 347.00 ns/op
mainnet_e81889 - altair processParticipationFlagUpdates 1.8870 us/op
mainnet_e81889 - altair processSyncCommitteeUpdates 1.0860 us/op
mainnet_e81889 - altair afterProcessEpoch 78.873 ms/op
capella processEpoch - mainnet_e217614 1.9105 s/op
mainnet_e217614 - capella beforeProcessEpoch 504.35 ms/op
mainnet_e217614 - capella processJustificationAndFinalization 13.841 us/op
mainnet_e217614 - capella processInactivityUpdates 27.307 ms/op
mainnet_e217614 - capella processRewardsAndPenalties 430.31 ms/op
mainnet_e217614 - capella processRegistryUpdates 15.245 us/op
mainnet_e217614 - capella processSlashings 407.00 ns/op
mainnet_e217614 - capella processEth1DataReset 231.00 ns/op
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.6341 ms/op
mainnet_e217614 - capella processSlashingsReset 3.0860 us/op
mainnet_e217614 - capella processRandaoMixesReset 3.3380 us/op
mainnet_e217614 - capella processHistoricalRootsUpdate 435.00 ns/op
mainnet_e217614 - capella processParticipationFlagUpdates 1.9600 us/op
mainnet_e217614 - capella afterProcessEpoch 218.49 ms/op
phase0 processEpoch - mainnet_e58758 374.55 ms/op
mainnet_e58758 - phase0 beforeProcessEpoch 103.44 ms/op
mainnet_e58758 - phase0 processJustificationAndFinalization 7.6890 us/op
mainnet_e58758 - phase0 processRewardsAndPenalties 44.016 ms/op
mainnet_e58758 - phase0 processRegistryUpdates 5.5990 us/op
mainnet_e58758 - phase0 processSlashings 232.00 ns/op
mainnet_e58758 - phase0 processEth1DataReset 225.00 ns/op
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 924.89 us/op
mainnet_e58758 - phase0 processSlashingsReset 1.7320 us/op
mainnet_e58758 - phase0 processRandaoMixesReset 2.0060 us/op
mainnet_e58758 - phase0 processHistoricalRootsUpdate 241.00 ns/op
mainnet_e58758 - phase0 processParticipationRecordUpdates 1.8080 us/op
mainnet_e58758 - phase0 afterProcessEpoch 66.827 ms/op
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.0392 ms/op
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.1604 ms/op
altair processInactivityUpdates - 250000 normalcase 20.930 ms/op
altair processInactivityUpdates - 250000 worstcase 23.528 ms/op
phase0 processRegistryUpdates - 250000 normalcase 3.5310 us/op
phase0 processRegistryUpdates - 250000 badcase_full_deposits 270.73 us/op
phase0 processRegistryUpdates - 250000 worstcase 0.5 113.45 ms/op
altair processRewardsAndPenalties - 250000 normalcase 34.592 ms/op
altair processRewardsAndPenalties - 250000 worstcase 54.722 ms/op
phase0 getAttestationDeltas - 250000 normalcase 6.0179 ms/op
phase0 getAttestationDeltas - 250000 worstcase 5.7555 ms/op
phase0 processSlashings - 250000 worstcase 85.777 us/op
altair processSyncCommitteeUpdates - 250000 112.14 ms/op
BeaconState.hashTreeRoot - No change 180.00 ns/op
BeaconState.hashTreeRoot - 1 full validator 101.28 us/op
BeaconState.hashTreeRoot - 32 full validator 1.2004 ms/op
BeaconState.hashTreeRoot - 512 full validator 15.448 ms/op
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 154.04 us/op
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.6588 ms/op
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 22.556 ms/op
BeaconState.hashTreeRoot - 1 balances 108.11 us/op
BeaconState.hashTreeRoot - 32 balances 1.0177 ms/op
BeaconState.hashTreeRoot - 512 balances 9.5045 ms/op
BeaconState.hashTreeRoot - 250000 balances 148.03 ms/op
aggregationBits - 2048 els - zipIndexesInBitList 13.313 us/op
byteArrayEquals 32 62.116 ns/op
Buffer.compare 32 35.546 ns/op
byteArrayEquals 1024 1.6598 us/op
Buffer.compare 1024 40.444 ns/op
byteArrayEquals 16384 26.252 us/op
Buffer.compare 16384 211.81 ns/op
byteArrayEquals 123687377 211.35 ms/op
Buffer.compare 123687377 4.4666 ms/op
byteArrayEquals 32 - diff last byte 62.704 ns/op
Buffer.compare 32 - diff last byte 42.629 ns/op
byteArrayEquals 1024 - diff last byte 1.6943 us/op
Buffer.compare 1024 - diff last byte 50.528 ns/op
byteArrayEquals 16384 - diff last byte 26.702 us/op
Buffer.compare 16384 - diff last byte 222.42 ns/op
byteArrayEquals 123687377 - diff last byte 209.58 ms/op
Buffer.compare 123687377 - diff last byte 6.2241 ms/op
byteArrayEquals 32 - random bytes 5.8420 ns/op
Buffer.compare 32 - random bytes 39.436 ns/op
byteArrayEquals 1024 - random bytes 5.9220 ns/op
Buffer.compare 1024 - random bytes 38.243 ns/op
byteArrayEquals 16384 - random bytes 5.7170 ns/op
Buffer.compare 16384 - random bytes 36.902 ns/op
byteArrayEquals 123687377 - random bytes 8.8900 ns/op
Buffer.compare 123687377 - random bytes 51.350 ns/op
regular array get 100000 times 42.802 us/op
wrappedArray get 100000 times 42.905 us/op
arrayWithProxy get 100000 times 10.135 ms/op
ssz.Root.equals 57.076 ns/op
byteArrayEquals 56.356 ns/op
Buffer.compare 11.011 ns/op
shuffle list - 16384 els 4.8734 ms/op
shuffle list - 250000 els 71.636 ms/op
processSlot - 1 slots 19.030 us/op
processSlot - 32 slots 3.2404 ms/op
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 51.655 ms/op
getCommitteeAssignments - req 1 vs - 250000 vc 2.2115 ms/op
getCommitteeAssignments - req 100 vs - 250000 vc 3.3780 ms/op
getCommitteeAssignments - req 1000 vs - 250000 vc 3.6051 ms/op
findModifiedValidators - 10000 modified validators 404.87 ms/op
findModifiedValidators - 1000 modified validators 366.83 ms/op
findModifiedValidators - 100 modified validators 303.01 ms/op
findModifiedValidators - 10 modified validators 318.53 ms/op
findModifiedValidators - 1 modified validators 294.31 ms/op
findModifiedValidators - no difference 315.41 ms/op
compare ViewDUs 3.5398 s/op
compare each validator Uint8Array 1.7348 s/op
compare ViewDU to Uint8Array 851.24 ms/op
migrate state 1000000 validators, 24 modified, 0 new 672.95 ms/op
migrate state 1000000 validators, 1700 modified, 1000 new 952.42 ms/op
migrate state 1000000 validators, 3400 modified, 2000 new 1.1893 s/op
migrate state 1500000 validators, 24 modified, 0 new 663.16 ms/op
migrate state 1500000 validators, 1700 modified, 1000 new 857.57 ms/op
migrate state 1500000 validators, 3400 modified, 2000 new 1.1501 s/op
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 3.5000 ns/op
state getBlockRootAtSlot - 250000 vs - 7PWei 850.48 ns/op
computeProposers - vc 250000 6.7340 ms/op
computeEpochShuffling - vc 250000 66.775 ms/op
getNextSyncCommittee - vc 250000 115.12 ms/op
computeSigningRoot for AttestationData 28.987 us/op
hash AttestationData serialized data then Buffer.toString(base64) 1.2461 us/op
toHexString serialized data 802.53 ns/op
Buffer.toString(base64) 146.98 ns/op

by benchmarkbot/action

@philknows philknows marked this pull request as ready for review January 16, 2024 01:43
@philknows philknows requested a review from a team as a code owner January 16, 2024 01:43
@philknows philknows merged commit 5ac2fae into stable Jan 16, 2024
20 of 23 checks passed
@philknows philknows deleted the rc/v1.14.0 branch January 16, 2024 03:53
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.14.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.